package com.bootdo.dietary.service;

import com.bootdo.dietary.domain.RecipeDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author liujia
 * @email 15101078046@163.com
 * @date 2019-03-25 17:46:13
 */
public interface RecipeService {
	
	RecipeDO get(Long id);
	
	List<RecipeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RecipeDO recipe);
	
	int update(RecipeDO recipe);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
